翻訳と辞書
Words near each other
・ "O" Is for Outlaw
・ "O"-Jung.Ban.Hap.
・ "Ode-to-Napoleon" hexachord
・ "Oh Yeah!" Live
・ "Our Contemporary" regional art exhibition (Leningrad, 1975)
・ "P" Is for Peril
・ "Pimpernel" Smith
・ "Polish death camp" controversy
・ "Pro knigi" ("About books")
・ "Prosopa" Greek Television Awards
・ "Pussy Cats" Starring the Walkmen
・ "Q" Is for Quarry
・ "R" Is for Ricochet
・ "R" The King (2016 film)
・ "Rags" Ragland
・ ! (album)
・ ! (disambiguation)
・ !!
・ !!!
・ !!! (album)
・ !!Destroy-Oh-Boy!!
・ !Action Pact!
・ !Arriba! La Pachanga
・ !Hero
・ !Hero (album)
・ !Kung language
・ !Oka Tokat
・ !PAUS3
・ !T.O.O.H.!
・ !Women Art Revolution


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Trailing zeros : ウィキペディア英語版
Trailing zero
In mathematics, trailing zeros are a sequence of 0s in the decimal representation (or more generally, in any positional representation) of a number, after which no other digits follow.
Trailing zeros to the right of a decimal point, as in 12.3400, do not affect the value of a number and may be omitted if all that is of interest is its numerical value. This is true even if the zeros recur infinitely. However, trailing zeros may be useful for indicating the number of significant figures, for example in a measurement. In such a context, "simplifying" a number by removing trailing zeros would be incorrect.
The number of trailing zeros in a non-zero base-''b'' integer ''n'' equals the exponent of the highest power of ''b'' that divides ''n''. For example, 14000 has three trailing zeros and is therefore divisible by 1000 = 103, but not by 104. This property is useful when looking for small factors in integer factorization. Some computer architectures have a count trailing zeros operation in their instruction set for efficiently determining the number of trailing zero bits in a machine word.
==Factorial==
The number of trailing zeros in the decimal representation of ''n''!, the factorial of a non-negative integer ''n'', is simply the multiplicity of the prime factor 5 in ''n''!. This can be determined with this special case of de Polignac's formula:〔Summarized from (Factorials and Trailing Zeroes )〕
:f(n) = \sum_^k \left \lfloor \frac \right \rfloor =
\left \lfloor \frac \right \rfloor + \left \lfloor \frac \right \rfloor + \left \lfloor \frac \right \rfloor + \cdots + \left \lfloor \frac \right \rfloor, \,
where ''k'' must be chosen such that
:5^ > n,\,
and \lfloor a \rfloor denotes the floor function applied to ''a''. For ''n'' = 0, 1, 2, ... this is
:0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 6, ... .
For example, 53 > 32, and therefore 32! = 263130836933693530167218012160000000 ends in
:\left \lfloor \frac \right \rfloor + \left \lfloor \frac \right \rfloor = 6 + 1 = 7\,
zeros. If ''n'' < 5, the inequality is satisfied by ''k'' = 0; in that case the sum is empty, giving the answer 0.
The formula actually counts the number of factors 5 in ''n''!, but since there are at least as many factors 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero.
Defining
:q_i = \left \lfloor \frac \right \rfloor,\,
the following recurrence relation holds:
:\beginq_0\,\,\,\,\, & = \,\,\,n,\quad \\
q_ & = \left \lfloor \frac \right \rfloor.\,\end
This can be used to simplify the computation of the terms of the summation, which can be stopped as soon as ''q i'' reaches zero. The condition is equivalent to
== See also ==
*Leading zero

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Trailing zero」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.